feat(payments): implement Stripe integration for real payments and we…#223
Merged
RUKAYAT-CODER merged 6 commits intorinafcode:mainfrom Mar 26, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #218
Description
This Pull Request overhauls the PaymentsModule by replacing the placeholder mock provider with a fully operational real-world Stripe API integration for
teachLink_backend.The backend can now handle processing live payment intents, correctly tracking/processing refunds, and fully verifying incoming asynchronous payment webhook events securely.
Specifications
STRIPE_SECRET_KEY&STRIPE_WEBHOOK_SECRET.rawBody: trueglobally viaNestFactoryto allow accurate Stripe webhook cryptographic signature verification.pm/picreations and refund dispatching within StripeService.payment_intent.succeeded/failednatively.Close #[issue-number]
Acceptance Criteria Achieved
Note: Please make sure to add the new Stripe secret keys to your environment configurations (e.g.
.env) locally and upstream before testing 🚀!close issue #218
close issue #219